﻿#include "threadpool.h"
ThreadPool::ThreadPool(int maxRunSize_t) :maxRunSize(maxRunSize_t), currSize(0), waitNum(0) {}

void ThreadPool::setMaxRunSize(int sz){
    mu4.lock();
    maxRunSize=sz;
    mu4.unlock();
}
